package com.zzzzzz.account.settings;

import java.io.IOException;

import org.springframework.web.multipart.MaxUploadSizeExceededException;

import com.zzzzzz.account.signin.NoSuchOnlineUserException;
import com.zzzzzz.account.signin.UserPasswordException;

public interface SettingsService {
	void editPassword(String curPassword, String newPassword) throws NoSuchOnlineUserException, UserPasswordException;

	void editPortrait(EditPortraitForm editPortraitForm) throws NoSuchOnlineUserException, MaxUploadSizeExceededException, IOException;
	
	void removePortrait() throws NoSuchOnlineUserException;
	
	void editEmail(String curPassword, String newEmail) throws NoSuchOnlineUserException, UserPasswordException;
}
